using Tiwo.Design.Renderers;
using Tiwo.Elements;

namespace Tiwo.Design.Controllers
{
    public class RenamePointAction : ActionVerb
    {
        InputFlowPoint Point { get; set; }

        public RenamePointAction(InputFlowPoint point)
        {
            Point = point;
            Title = "Rename point";
        }

        public override void Run()
        {
            Point.FriendlyName += "1";
        }
    }
}